package Factory;

/**
 * Created with IntelliJ IDEA.
 * User: breeze
 * Date: 11/15/12
 * Time: 10:06 AM
 * To change this template use File | Settings | File Templates.
 */
public abstract class Pizza {

    String name;
/*    Dough dough;
    Sauce sauce;
    Cheese cheese;*/

    abstract void prepare();

    public void bake(){
        System.out.println("baking...");
    }

    public void cut(){
        System.out.println("cutting...");
    }

    public String getName(){
        return this.name;
    }

    public void setName(String name){
        this.name = name;
    }

    public static void main(String[] args){
        System.out.print("pizza.java");
    }

}
